package cn.hfatec.shms.constants;

import org.springframework.beans.factory.annotation.Value;

/**
 * @author: panwb
 *
 * Date: 2015/11/24
 * Time: 9:58
 */
public class ShmsProperties {

    @Value("${upload.path}")
    private String uploadPath;

    @Value("${upload.temp.path}")
    private String uploadTempPath;

    @Value("${upload.document.path}")
    private String uploadDocumentPath;

    @Value("${mail.username}")
    private String mailUserName;

    @Value("${mail.password}")
    private String mailPassword;

    @Value("${mail.host}")
    private String mailHost;

    @Value("${mail.account}")
    private String mailAccount;

    @Value("${mail.isSend}")
    private Boolean mailIsSend;

    @Value("${time.valid}")
    private Long timeValid;

    public String getUploadPath() {
        return uploadPath;
    }

    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }

    public String getUploadTempPath() {
        return uploadTempPath;
    }

    public void setUploadTempPath(String uploadTempPath) {
        this.uploadTempPath = uploadTempPath;
    }

    public String getUploadDocumentPath() {
        return uploadDocumentPath;
    }

    public void setUploadDocumentPath(String uploadDocumentPath) {
        this.uploadDocumentPath = uploadDocumentPath;
    }

    public String getMailUserName() {
        return mailUserName;
    }

    public void setMailUserName(String mailUserName) {
        this.mailUserName = mailUserName;
    }

    public String getMailPassword() {
        return mailPassword;
    }

    public void setMailPassword(String mailPassword) {
        this.mailPassword = mailPassword;
    }

    public String getMailHost() {
        return mailHost;
    }

    public void setMailHost(String mailHost) {
        this.mailHost = mailHost;
    }

    public String getMailAccount() {
        return mailAccount;
    }

    public void setMailAccount(String mailAccount) {
        this.mailAccount = mailAccount;
    }

    public Boolean getMailIsSend() {
        return mailIsSend;
    }

    public void setMailIsSend(Boolean mailIsSend) {
        this.mailIsSend = mailIsSend;
    }

    public Long getTimeValid() {
        return timeValid;
    }

    public void setTimeValid(Long timeValid) {
        this.timeValid = timeValid;
    }
}
